package com.tastyshop.dao;

import java.util.List;

import com.tastyshop.domain.PageHelper;
import com.tastyshop.domain.RecommendBoard;
import com.tastyshop.domain.Recommend_Reply;

public interface RecommendMapper {
	public List<RecommendBoard> getAllBoardByPage(PageHelper pageHelper);
	public RecommendBoard getBoardByIdx(Integer idx);
	public Integer getBoardTotal();
	public void addBoard(RecommendBoard recommendBoard);
	public void modifyBoard(RecommendBoard recommendBoard);
	public void raiseLookup(Integer idx);
	public List<Recommend_Reply> getAllRepliesByIdx(Integer idx);
	public RecommendBoard getInfo(Integer idx);
	public RecommendBoard getPrev(Integer idx);
	public RecommendBoard getNext(Integer idx);
	public void addReply(Recommend_Reply recommend_Reply);
	public void raiseReplyCount(Integer ref_no);
	public void modifyReply(Recommend_Reply recommend_Reply);
	public void removeReply(Integer idx);
	public void lowerReplyCount(Integer ref_no);
	public void removeBoard(Integer idx);
	public void removeAllReplies(Integer idx);
}
